import request from './request.js'
// 登录的接口
export const loginWx = (data, callback, hideLoading) => request('/wechat/token/getToken', 'post', data, false);
// 注册的接口
export const registerTeacher = (data, callback, hideLoading) => request('/wechat/login/register_teacher', 'post', data, false);
// 登录角色 
export const getLoginRole = (data, callback, hideLoading) => request('/wechat/index', 'get', data, false);
// 获取手机号登录
export const phoneLogin = (data, callback, hideLoading) => request('/wechat/xcxLogin/xcx_login', 'post', data, false);